/**
 * Created by lucah on 2018/8/26.
 */
require.config({
    shim: {
        'bootstrap':{
            deps:['jquery'],
            export:'bootstrap'
        },
    },
    paths : {
        "leaflet":"../../common/lib/leaflet/leaflet",
        "jquery":'https://cdn.bootcss.com/jquery/3.3.1/jquery.min',
        "bootstrap":'../../common/lib/bootstrap/js/bootstrap'
    }
});
require(["leaflet","jquery","bootstrap"],function(leaflet,$,bootstrap){
    var map = L.map('map', {
        minZoom: 3,
        maxZoom: 17,
        center: [32.550339, 106.114129],
        zoom: 4,
        attributionControl: false
    });
    var url = "http://a.tile.openstreetmap.org/{z}/{x}/{y}.png";
    L.tileLayer(url).addTo(map);
});